package com.tarena.lbs.mapper;

import com.tarena.lbs.dto.AdminLoginParam;
import com.tarena.lbs.dto.AdminQuery;
import com.tarena.lbs.entity.Admin;
import com.tarena.lbs.vo.AdminVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AdminMapper {
    void insert(Admin admin);

    void update(Admin admin);

    List<AdminVO> selectAdmin(AdminQuery adminQuery);

    void deleteAdmin(Integer id);

    AdminVO AdminLogin(AdminLoginParam adminLoginParam);
}
